package com.springmvc.netty.action;

import java.util.HashMap;

import org.springframework.beans.factory.annotation.Autowired;

import com.corundumstudio.socketio.AckRequest;
import com.corundumstudio.socketio.SocketIOClient;
import com.corundumstudio.socketio.SocketIOServer;
import com.springmvc.netty.command.Command;
import com.springmvc.netty.core.ActionMap;
import com.springmvc.netty.core.NettyController;
import com.springmvc.web.majiang.service.IUserService;

@NettyController()
public class UserAction extends BaseAction {

	@Autowired
	private IUserService userService;

	@ActionMap(Command.u1001)
	public void login2(SocketIOServer server, SocketIOClient client, HashMap<String, String> data,
			AckRequest ackRequest) {
		sendEvent(Command.u1001, client, data);
	}

}